package com.chenxbook.modules.examples.async.activity;

import java.io.Serializable;

public class Application  implements Serializable {
    private static final long serialVersionUID = 8822498670511314064L;

    /**
     * 自动生成PDF
     * */
    public void generatePdf() throws InterruptedException {
        Thread.sleep(1000);
    }

    /**
     * 计算素数
     * */
    public void calculatePrimes() throws InterruptedException {
        Thread.sleep(2000);
    }
}
